package com.i72.product.webdemo;

import com.i72.basic.annotation.AOPPattern;
import com.i72.basic.annotation.EnabledBasic;
import com.i72.governance.annotation.EnableGovernance;
import com.i72.penetrate.annotation.EnablePenetrate;
import com.i72.product.impl.MyAOPNotice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

@SpringBootApplication
@EnabledBasic
@EnableGovernance
@EnablePenetrate
@AOPPattern(target = "[\\w\\.]*?impl$",invoke = MyAOPNotice.class)
public class WebdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebdemoApplication.class, args);
    }

}
